package com.naiterui.common.jinshuju.callback.handler;

import java.util.Map;

import com.naiterui.common.jinshuju.bean.JinshujuCallback;
import com.naiterui.common.jinshuju.bean.JinshujuInfo;
import com.naiterui.common.jinshuju.exception.JinshujuException;
import com.naiterui.common.jinshuju.service.JinshujuService;

/**
 * 处理金数据回调实际业务逻辑
 *
 * @author gaoliangliang
 * @date 2019/10/20 4:50 下午
 * @since 1.0.0
 */
public interface CallbackHandler {

    JinshujuInfo handle(JinshujuCallback jinshujuCallback,
                        Map<String, Object> context,
                        JinshujuService jinshujuService) throws JinshujuException;

}
